﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.SportBusiness.Category
{
    /// <summary>
    /// 资讯分类Dto
    /// </summary>
    public class CategoryDto : EntityDto<Guid>
    {
        /// <summary>
        /// 所属商户Id
        /// </summary>
        public Guid? CompanyId { get; set; }
        /// <summary>
        /// 所属商户
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属分类父类
        /// </summary>
        public string ParentName { get; set; }

        /// <summary>
        /// 父类标识
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 是否启用  1:启用  0:禁用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 创建人标识
        /// </summary>
        public Guid CreateUserId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
    }
}
